package com.hoshiicloud.user.service.organization;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hoshiicloud.user.entity.organization.ComOrganizationDepartmentes;

import java.util.List;

/**
 * <p>
 * 租户机构部门 服务类
 * </p>
 *
 * @author campchen
 * @since 2019-05-27
 */
public interface ComOrganizationDepartmentesService extends IService<ComOrganizationDepartmentes> {

    ComOrganizationDepartmentes getById(Long id);

    String insert(ComOrganizationDepartmentes entity);

    boolean updateById(ComOrganizationDepartmentes entity);

    boolean deleteById(Long id);

    List<ComOrganizationDepartmentes> getByIds(List<Long> ids, String key);

    IPage<ComOrganizationDepartmentes> getPage(IPage<ComOrganizationDepartmentes> page, QueryWrapper<ComOrganizationDepartmentes> queryWrapper, String key);

}
